<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<?php
if (Yii::app()->controller->action->id == 'admin') {
    $width = '749px';
     $class='span2';
} else {
    $width = '637px';
     $class='span3';
}
?>
<div class="span-19" style=" float: left !important;min-height: 1px; margin-left: 0px !important;width:<?php echo $width; ?> ;">
    <div id="content">
        <?php echo $content; ?>
    </div><!-- content -->
</div>
<div class="span-5 last" >
    
    <div id="sidebar" class="<?php echo $class?>">
		<div class="well sidebar-nav">
                   <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => 'Operations',
        ));
        $this->widget('bootstrap.widgets.TbMenu', array(
            'items' => $this->menu,
            'htmlOptions' => array('class' => 'operations'),
        ));
        $this->endWidget();
        ?>
                </div>	</div>
    
    
    
    
    
    
    
    
    
    
  <!-- sidebar -->
</div>
<?php $this->endContent(); ?>